import Vue from 'vue'
import App from './App.vue'
import router from "../router";
import store from "./store";
import VueAMap from 'vue-amap'
Vue.use(VueAMap)
Vue.config.productionTip = false
import registryToast from "./components/common/toast/toast";
VueAMap.initAMapApiLoader({
  key: 'key',//自己申请的key
  plugin: ['AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.Geocoder','AMap.Geolocation'],
  v: '1.4.4'
});

// 这里也可以直接执行 toastRegistry()
Vue.use(registryToast)
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
